<?php

/**
 * Jcrop image cropping plugin for jQuery
 * Example cropping script
 * @copyright 2008 Kelly Hallman
 * More info: http://deepliquid.com/content/Jcrop_Implementation_Theory.html
 */

 

// If not a POST request, display page below:

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" href="css/jquery.Jcrop.css" type="text/css" />
<script type="text/javascript" src="js/jQuery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script src="js/jquery.Jcrop.min.js"></script>
<script language="Javascript" src="js/do.js"></script>
</head>
<body>
<div id="cropbox"></div><div id="preview"></div> 
<img id="loading" src="ajaxfileupload/loading.gif">   
    
<form action="crop_do.php?Photo=Up" method="post" enctype="multipart/form-data" id="Photo_Crop" target="upload_target">
    <input type="file" name="image" id="image" />
    <input type="hidden" id="x" name="x" />
    <input type="hidden" id="y" name="y" />
    <input type="hidden" id="w" name="w" />
    <input type="hidden" id="h" name="h" />
    <input type="submit" id="Photo_Crop_Upload" value="上传" />    
</form>
<input type="submit" id="Photo_Crop_Submit" value="裁剪" />
 
	</body>
</html>
